package com.fzd.code.file.storage;

public interface IStrorage {
    /**
     * post source to storage
     * source will have a storage url after upload
     * @param storageConfig
     * @param source
     */
    void post(StorageConfig storageConfig,Source source);

    /**
     * get source from storage
     * search source from storage by source url
     * @param storageConfig
     * @param source
     */
    void get(StorageConfig storageConfig,Source source);
}
